← Index
NYTProf Performance Profile   
For starman worker -M FindBin --max-requests 50 --workers 2 --user=kohadev-koha --group kohadev-koha --pid /var/run/koha/kohadev/plack.pid --daemonize --access-log /var/log/koha/kohadev/plack.log --error-log /var/log/koha/kohadev/plack-error.log -E deployment --socket /var/run/koha/kohadev/plack.sock /etc/koha/sites/kohadev/plack.psgi
  Run on Fri Jan 8 13:50:58 2016
Reported on Fri Jan 8 13:51:28 2016

Filename(eval 246)[/usr/share/perl5/Sub/Quote.pm:5]
StatementsExecuted 48 statements in 328µs
Eval Invoked At/usr/share/perl5/Sub/Quote.pm line 5
Sibling evals1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
202018158µs1.05msDBIx::Class::ResultSourceProxy::::add_unique_constraintDBIx::Class::ResultSourceProxy::add_unique_constraint
11114µs31µsSub::Quote::::BEGIN@4.240 Sub::Quote::BEGIN@4.240
1117µs7µsDBIx::Class::ResultSourceProxy::::BEGIN@10.241DBIx::Class::ResultSourceProxy::BEGIN@10.241
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1{
221µs my $_UNQUOTED = ${$_[1]->{"\$_UNQUOTED"}};
31300ns my $_QUOTED = ${$_[1]->{"\$_QUOTED"}};
42114µs247µs
# spent 31µs (14+16) within Sub::Quote::BEGIN@4.240 which was called: # once (14µs+16µs) by Sub::Quote::_clean_eval at line 4
no warnings 'closure';
# spent 31µs making 1 call to Sub::Quote::BEGIN@4.240 # spent 16µs making 1 call to warnings::unimport
5
# spent 1.05ms (158µs+889µs) within DBIx::Class::ResultSourceProxy::add_unique_constraint which was called 20 times, avg 52µs/call: # once (8µs+471µs) by Class::C3::Componentised::ensure_class_loaded at line 154 of Koha/Schema/Result/Overduerule.pm # once (10µs+33µs) by Class::C3::Componentised::ensure_class_loaded at line 73 of Koha/Schema/Result/AqordersTransfer.pm # once (8µs+33µs) by Class::C3::Componentised::ensure_class_loaded at line 56 of Sub/Defer.pm # once (10µs+29µs) by Class::C3::Componentised::ensure_class_loaded at line 59 of Koha/Schema/Result/Serialitem.pm # once (8µs+28µs) by Class::C3::Componentised::ensure_class_loaded at line 160 of Koha/Schema/Result/PrintersProfile.pm # once (8µs+24µs) by Class::C3::Componentised::ensure_class_loaded at line 98 of Koha/Schema/Result/Localization.pm # once (8µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 89 of Koha/Schema/Result/AdditionalFieldValue.pm # once (8µs+22µs) by Class::C3::Componentised::ensure_class_loaded at line 88 of Koha/Schema/Result/Subscriptionroutinglist.pm # once (8µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/AdditionalField.pm # once (9µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 409 of Koha/Schema/Result/Item.pm # once (8µs+21µs) by Class::C3::Componentised::ensure_class_loaded at line 109 of Koha/Schema/Result/CourseReserve.pm # once (9µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 180 of Koha/Schema/Result/Issue.pm # once (8µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 80 of Koha/Schema/Result/MessageAttribute.pm # once (8µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 132 of Koha/Schema/Result/CourseItem.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 597 of Koha/Schema/Result/Borrower.pm # once (8µs+19µs) by Class::C3::Componentised::ensure_class_loaded at line 84 of Koha/Schema/Result/CreatorImage.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 93 of Koha/Schema/Result/ItemsLastBorrower.pm # once (8µs+18µs) by Class::C3::Componentised::ensure_class_loaded at line 79 of Koha/Schema/Result/OaiSet.pm # once (4µs+17µs) by Class::C3::Componentised::ensure_class_loaded at line 85 of Koha/Schema/Result/AqordersTransfer.pm # once (4µs+16µs) by Class::C3::Componentised::ensure_class_loaded at line 609 of Koha/Schema/Result/Borrower.pm
sub DBIx::Class::ResultSourceProxy::add_unique_constraint {
6 $_QUOTED if 0;
7192µs $_UNQUOTED if 0;
8# BEGIN quote_sub PRELUDE
9package DBIx::Class::ResultSourceProxy;
10
# spent 7µs within DBIx::Class::ResultSourceProxy::BEGIN@10.241 which was called: # once (7µs+0s) by Sub::Quote::_clean_eval at line 15
BEGIN {
1112µs $^H = "132834";
121500ns ${^WARNING_BITS} = "UUUUUUUUUUUUUUUUU";
1317µs %^H = (
14 );
15176µs17µs}
# spent 7µs making 1 call to DBIx::Class::ResultSourceProxy::BEGIN@10.241
16# END quote_sub PRELUDE
17 DBIx::Class::_ENV_::ASSERT_NO_INTERNAL_INDIRECT_CALLS and DBIx::Class::_Util::fail_on_internal_call;
1819121µs38418µs shift->result_source_instance->add_unique_constraint (@_);
# spent 278µs making 19 calls to DBIx::Class::ResultSource::add_unique_constraint, avg 15µs/call # spent 18µs making 2 calls to Koha::Schema::Result::AqordersTransfer::result_source_instance, avg 9µs/call # spent 15µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance # spent 12µs making 2 calls to Koha::Schema::Result::Borrower::result_source_instance, avg 6µs/call # spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Item::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Localization::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Issue::result_source_instance # spent 7µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance # spent 6µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
19 }
2011µs $$_UNQUOTED = \&DBIx::Class::ResultSourceProxy::add_unique_constraint
21}
2214µs1;
23
24;